<!DOCTYPE html>
<html>	
<head>
<title>Login</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<script type="application/x-javascript"> addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false); function hideURLbar(){ window.scrollTo(0,1); } </script>
<meta name="keywords" content="Flat Dark Web Login Form Responsive Templates, Iphone Widget Template, Smartphone login forms,Login form, Widget Template, Responsive Templates, a Ipad 404 Templates, Flat Responsive Templates" />
<link href="__TMPL__/public/assets/simpleboot3/font-awesome/css/style.css" rel='stylesheet' type='text/css' />
<!--<script src="__TMPL__/public/assets/js/jquery-1.10.2.min.js"></script>-->
</head>
<body>

</script>
 <!--SIGN UP-->
 <h1><a onclick="printWayBill1();">打印小票</a></h1>
  <div class="orderid"></div>
</body>
</html>
<script src="__TMPL__/public/assets/dayin/cfprint.min.js?ver=1.3.8"></script>
<script src="__TMPL__/public/assets/dayin/cfprint_ext.js?ve=1.3.8"></script>
<script src="__TMPL__/public/menu/js/jquery.js"></script>
<script>

    var _reportData1 = null;
	var order=parent.$('.orderid').html();
    $('.orderid').html(order);
		var orderid=$('.orderid').html();
		$.post("{:url('orderpay/printto')}",{orderid:orderid},function(date){
			 _reportData1=date.msg;
			 sendMsg(_reportData1); 
		},'json');


	/*alert(orderid);
    $.ajax({
       type:"POST",
       url:"/home/orderpay/printto",
	   date:
       success:function(date){
           _reportData1=date.msg;
           //alert(_reportData1);//这里面输出
           //sendMsg(_reportData1); 
       }
    }); */
</script>